<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<f:view xmlns="http://www.w3.org/1999/xhtml"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:util="http://java.sun.com/jsf/composite/util">

	<util:dialogoLabel value="#{i18n.Dado_Nome}" />
	<div class="dialogo_grid_18">
		<p:inputText value="#{deBean.dadoInstance.nomeTela}"
			styleClass="dialogo_width_18" required="true"
			requiredMessage="#{i18n.Dado_Required_Nome}" maxlength="128" />
	</div>
	<util:dialogoLabel value="#{i18n.Dado_AtributoClasse}" />
	<div class="dialogo_grid_18">
		<p:inputText value="#{deBean.dadoInstance.atributoClasse}"
			styleClass="dialogo_width_18" required="true"
			requiredMessage="#{i18n.Dado_Required_AtributoClasse}"
			maxlength="128" />
	</div>
	<util:dialogoLabel value="#{i18n.Dado_RegraDescricao}" />
	<div class="dialogo_grid_18">
		<p:inputTextarea value="#{deBean.dadoInstance.regraDescricao}"
			styleClass="dialogo_width_18" required="true"
			requiredMessage="#{i18n.Dado_Required_AtributoClasse}"
			maxlength="255" />
	</div>
	<util:dialogoLabel grid="9" value="#{i18n.Dado_TipoDado}" />
	<util:dialogoLabel grid="9" value="#{i18n.Dado_Tamanho}" />
	<div class="dialogo_grid_9">
		<p:inputText value="#{deBean.dadoInstance.tipoDado}"
			styleClass="dialogo_width_8" required="true"
			requiredMessage="#{i18n.Dado_Required_TipoDado}" maxlength="32" />
	</div>
	<div class="dialogo_grid_9">
		<p:inputText value="#{deBean.dadoInstance.tamanho}"
			styleClass="dialogo_width_9" required="true"
			requiredMessage="#{i18n.Dado_Required_Tamanho}" />
	</div>
	<util:dialogoLabel grid="9" value="#{i18n.Dado_Editavel}" />
	<util:dialogoLabel grid="9" value="#{i18n.Dado_Obrigatorio}" />
	<div class="dialogo_grid_9">
		<p:selectOneRadio value="#{deBean.dadoInstance.editavel}"
			styleClass="dialogo_width_8" required="true"
			requiredMessage="#{i18n.Dado_Required_Editavel}">
			<f:selectItem itemValue="#{true}" itemLabel="#{i18n.Sim}" />
			<f:selectItem itemValue="#{false}" itemLabel="#{i18n.Nao}" />
		</p:selectOneRadio>
	</div>
	<div class="dialogo_grid_9">
		<p:selectOneRadio value="#{deBean.dadoInstance.obrigatorio}"
			styleClass="dialogo_width_9" required="true"
			requiredMessage="#{i18n.Dado_Required_Obrigatorio}">
			<f:selectItem itemValue="#{true}" itemLabel="#{i18n.Sim}" />
			<f:selectItem itemValue="#{false}" itemLabel="#{i18n.Nao}" />
		</p:selectOneRadio>
	</div>
	<util:hr />
	
</f:view>